'use strict'

define([ 'jquery', 'bootstrap', 'fullpage'], function($) {
  return {
    init : function() {
      
      $('#fullpage').fullpage({
        paddingTop: '90px',
        anchors : [ 'firstPage', 'secondPage', '3rdPage' ],
        sectionsColor : [ '#FFF', '#FFF', '#FFF' ],
        slidesNavigation: true,
        slidesNavPosition: 'bottom',
        css3 : true,
        navigation: true,
        controlArrows: true,
      });
      
      setInterval(function(){
        $.fn.fullpage.moveSlideRight();
      }, 300000);

    }
  }
})